HAL SMARTCARD control functions migration ¶
This section provides information about the HAL SMARTCARD control functions migration.
SMARTCARD FIFO Mode ¶
Enable/Disable FIFO Mode ¶
Function renamed in HAL2.
|
HAL1 |
HAL2 |
|---|---|
HAL_SMARTCARDEx_EnableFifoMode(SMARTCARD_HandleTypeDef *hsmartcard);
HAL_SMARTCARDEx_DisableFifoMode(SMARTCARD_HandleTypeDef *hsmartcard);
|
HAL_SMARTCARD_EnableFifoMode(const hal_smartcard_handle_t *hsmartcard);
HAL_SMARTCARD_DisableFifoMode(const hal_smartcard_handle_t *hsmartcard);
|
Set FIFO Threshold ¶
Function renamed in HAL2.
|
HAL1 |
HAL2 |
|---|---|
HAL_SMARTCARDEx_SetTxFifoThreshold(SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Threshold);
HAL_SMARTCARDEx_SetRxFifoThreshold(SMARTCARD_HandleTypeDef *hsmartcard, uint32_t Threshold);
|
HAL_SMARTCARD_SetTxFifoThreshold(hal_smartcard_handle_t *hsmartcard, hal_smartcard_fifo_threshold_t tx_fifo_threshold);
HAL_SMARTCARD_SetRxFifoThreshold(hal_smartcard_handle_t *hsmartcard, hal_smartcard_fifo_threshold_t rx_fifo_threshold);
|
SMARTCARD Receiver timeout ¶
Receiver timeout configuration ¶
Function renamed in HAL2.
|
HAL1 |
HAL2 |
|---|---|
void HAL_SMARTCARDEx_TimeOut_Config(SMARTCARD_HandleTypeDef *hsmartcard,
uint32_t TimeOutValue)
|
hal_status_t HAL_SMARTCARD_SetReceiverTimeout(const hal_smartcard_handle_t *hsmartcard,
uint32_t timeout_etu)
|
Enable/disable receiver timeout ¶
Function renamed in HAL2.
|
HAL1 |
HAL2 |
|---|---|
HAL_SMARTCARDEx_EnableReceiverTimeOut(SMARTCARD_HandleTypeDef *hsmartcard)
HAL_SMARTCARDEx_DisableReceiverTimeOut(SMARTCARD_HandleTypeDef *hsmartcard)
|
HAL_SMARTCARD_EnableReceiverTimeout(const hal_smartcard_handle_t *hsmartcard)
HAL_SMARTCARD_DisableReceiverTimeout(const hal_smartcard_handle_t *hsmartcard)
|
HAL SMARTCARD block length ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_SMARTCARDEx_BlockLength_Config(SMARTCARD_HandleTypeDef *hsmartcard, uint8_t BlockLength);
|
HAL_SMARTCARD_SetBlockLength(const hal_smartcard_handle_t *hsmartcard, uint32_t block_length_byte);
|